package w3_1;

public class Lt3 {
	public static void main(String[] args) {
		double n;
		double sum = 0;
		n = 1;
		for (int i=1; i<=20; i++) {
			n = n/i;
			sum += n;
		}
		System.out.println("sum = " + sum);
		System.out.println(Math.E);
	}

}
